package com.Cfeng.XiaohuanChat.service;

import com.Cfeng.XiaohuanChat.entity.ChatUser;

/**
 * @author Cfeng
 * @date 2022/8/6
 */

public interface ChatUserService {

    //用户注册
    ChatUser addOrUpdateUser(ChatUser chatUser) throws IllegalAccessException;

    //用户删除
    void removeUser(ChatUser chatUser);

    //用户查询，用户名
    ChatUser queryUser(String username);

}
